package com.multi.thread.chapter02.demo09;

public class Run {
	
	public static void main(String[] args) throws InterruptedException {
		DeadThread t1 = new DeadThread();
		
		t1.setFlag("a");
		Thread a = new Thread(t1);
		a.start();
		
		Thread.sleep(100);
		
		t1.setFlag("b");
		Thread b = new Thread(t1);
		b.start();
	}

}
